
import axios from '@/util/axios'

//登录接口
export const toLogin = (data) => axios.post('/user/login', data)
//验证是否登录过
export const validate = () => axios.get('/user/validate')